package com.lgmshare.k3.ui.login;

import com.lgmshare.k3.http.AppService;
import com.lgmshare.k3.http.base.SimpleCallback;
import com.lgmshare.k3.model.UserInfo;
import com.lgmshare.k3.ui.base.BaseActivity;

public class LoginActivity extends BaseActivity {

    @Override
    protected int onBindLayoutResId() {
        return 0;
    }

    @Override
    protected void initData() {

    }

    @Override
    protected void initLoad() {

    }

    private void clickLogin() {
       /* CommonTask.Login task = new CommonTask.Login();
        task.setCallback(new SimpleCallback<UserInfo>() {
            @Override
            public void onFailure(int code, String message) {

            }

            @Override
            public void onSuccess(UserInfo userInfo) {

            }
        });
        task.sendPost(this);*/
        AppService.Instance().login(this, "", "", new SimpleCallback<UserInfo>() {

            @Override
            public void onStart() {
                super.onStart();
            }

            @Override
            public void onFinish() {
                super.onFinish();
            }

            @Override
            public void onFailure(int code, String message) {

            }

            @Override
            public void onSuccess(UserInfo userInfo) {

            }
        });
    }
}
